package net.yla.smartbus.module.ba.group.query;

import lombok.Data;
import net.yla.smartbus.core.base.BaseQuery;
import org.apache.commons.lang.StringUtils;

import java.io.Serializable;
import java.util.List;

/**
 * @description:
 * @author: Yee
 * @date: 2021/6/16 14:36
 */
@Data
public class GroupQuery extends BaseQuery implements Serializable {
    private Integer companyId;
    private Integer groupId;
    private String name;
    private Integer groupType;
    private List<Integer> personIds;

    public String getName() {
        return StringUtils.isNotBlank(name) ? name.trim() : null;
    }

}
